<?php

/**
 *      [品牌空间] (C)2001-2010 Comsenz Inc.
 *      This is NOT a freeware, use is subject to license terms
 *
 *      $Id: adv_channelbanner.php 4379 2010-09-09 03:00:50Z fanshengshuai $
 */


if(!defined('IN_ADMIN')) {
	exit('Acess Denied');
}

require_once B_ROOT . "source/class/adv/adv_core.php";

class adv_channelbanner extends Adv {

	var $version = '1.0';
	var $name = 'channelbanner_name';
	var $description = 'channelbanner_desc';
	var $copyright = '<a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a>';
	var $targets = array('street', 'goods', 'consume', 'groupbuy');
	var $imagesizes = array('740x40', '712x40');
	var $global_ad = false;

	function getSettings() {
		global $_G;
		$settings = array(
				'position' => array(
					'title' => 'channelbanner_position',
					'type' => 'mradio',
					'value' => array(
						array(1, 'channelbanner_position_top'),
						array(2, 'channelbanner_position_bottom'),
						),
					'default' => 1,
					),
				);

		return $settings;
	}
}

?>